import { createApp, type App as VueApp } from "vue"
import App from './app.vue'

const app = createApp(App)

Object
    .values(import.meta.glob<{ install: (app: VueApp) => void }>('./modules/*.ts', { eager: true }))
    .forEach(m => {
        m?.install?.(app)
    })
app.mount("#app")